package com.ruoyi.tzzl.service;

import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tzzl.domain.WzWithdrawalRecord;
import com.ruoyi.tzzl.domain.vo.QueryVo;

import java.util.List;
import java.util.Map;

/**
 * 提现申请Service接口
 * @author by caoyong
 * @date 2022/11/17
 **/
public interface  IWzWithdrawalRecordService extends IService<WzWithdrawalRecord> {

    /**
     * 查询提现申请列表
     */
    List<WzWithdrawalRecord> selectWzWithdrawalRecordList(QueryVo queryVo );

    /**
     * 用户提现申请
     * */
    boolean applyWithdrawal(QueryVo queryVo);

    /**
     * 提现审核
     * */
    Boolean audit(QueryVo queryVo) throws AlipayApiException;

    /**查询今日提现订单*/
    List<WzWithdrawalRecord> orderToday();

    /**
     * 查看用户提现金额,待打款金额,可提现金额
     * */
   Map<String,Object> withdrawalAmount(Long id);

}
